package edu.ustb.efws.base.controller.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 重置密码
 *
 * @author TS Group
 */
@ApiModel("重置密码")
public class ResetPasswordForm {
    @NotNull
    @ApiModelProperty(value = "用户编号", required = true)
    private Long id;
    @NotBlank
    @Size(min = 8, max = 20)
    private String password;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
